package com.xbdun.web.validatebmp.controller.upload;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class UploadController extends BaseUploadController{
	
	/**
	* @Title: upload
	* @Description	打开上传文件画面
	* @return    设定文件
	* @return String    返回类型
	 */
	@RequestMapping("cutImage")
	public ModelAndView cutImage(){
		ModelAndView modelAndView = new ModelAndView(ROOT_PATH+"cutimage");
		if(!WEB_SITE_URL.endsWith("/")){WEB_SITE_URL = WEB_SITE_URL+"/";}
		modelAndView.addObject("cxt", WEB_SITE_URL);
		return modelAndView;
	}
}
